﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;

namespace Clotho.Novelview {

	public class BrushPackage {
		public SolidBrush Backgrond { get; set; }
		public SolidBrush Text { get; set; }
		public Pen Select_border{ get; set; }
		public Pen Selected_plot_outline{ get; set; }
		public Pen Plot_outline { get; set; }

		public Pen Axis { get; set; }
		public Font One_word{ get; set; }
		public Font Title{ get; set; }
		public Font Body{ get; set; }
		public float D_dot{ get; set; }
		public static BrushPackage test =>
		new BrushPackage() {
			Backgrond = new SolidBrush(Color.White),
			Text = new SolidBrush(Color.Black),
			Axis = new Pen(Color.Gray, 1),
			Plot_outline = new Pen(Color.Gray, 1),
			Select_border = new Pen(Color.Black, 1) {
				DashStyle = System.Drawing.Drawing2D.DashStyle.Custom,
				DashPattern = new float[] { 5, 5 },

			},
			Selected_plot_outline = new Pen(Color.Black, 2) {
				DashStyle = System.Drawing.Drawing2D.DashStyle.Dot,
			},
			D_dot = 32,
			One_word = new Font("宋体", 32 / 1.414f, GraphicsUnit.Pixel),
			Title = new Font("宋体", 12, GraphicsUnit.Pixel),
			Body = new Font("宋体", 9, GraphicsUnit.Pixel),
		};
    }
}
